<?php

namespace App\Services\UserFromInviteCode;

use App\Http\Controllers\Api\V1\Requests\FormRequest;

class UserFromInviteCodeRequest extends FormRequest
{
	public function rules()
	{
		return [
			'invite_code' => [
				'required',
				'string',
				'min:10',
				'max:10',
				'exists:users',
			]
		];
	}
}
